//
//  LLAssetsPickerStyleManager.m
//  LLCoreUserInterface
//
//  Created by my_liu on 2016/11/16.
//  Copyright © 2016年 my_liu. All rights reserved.
//

#import "LLAssetsPickerStyleManager.h"

@interface LLAssetsPickerStyleManager ()
{
    LLAssetsPickerStyle *_style;
}
@end

@implementation LLAssetsPickerStyleManager
+ (instancetype)share
{
    static dispatch_once_t onceToken;
    static LLAssetsPickerStyleManager *manager = nil;
    dispatch_once(&onceToken, ^{
        manager = [[LLAssetsPickerStyleManager alloc] init];
    });
    return manager;
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        _style = [[LLAssetsPickerStyle alloc] init];
    }
    return self;
}

- (void)setDefaultStyle:(LLAssetsPickerStyle *)style
{
    _style = style;
}

- (LLAssetsPickerStyle *)style
{
    return _style;
}

@end
